<template>
  <div>
    <createStatus :height="560">
      <template slot="btnGroup">
        <RPButton class="btn" text="深度及广度权重配置" @click="weightHandle()" />
        <RPButton class="btn" text="组织管理" @click="orgHandle()" />
        <RPButton class="btn" text="关键业务环节配置"  @click="keyHandle()" />
      </template>
    </createStatus>
  </div>
</template>

<script>
import createStatus from '../createStatus.vue';
import weightEdit from './weightEdit.vue';
import orgManage from './orgManage/orgManege';
export default {
  name: 'coverGoal',
  components: {
    createStatus,
    weightEdit,
    orgManage
  },
  data() {
    return {}
  },
  methods: {
    weightHandle() {
      new this.$pageModal(
        weightEdit
      )
    },
    orgHandle() { 
      new this.$sidelipPage(
        orgManage,
        {
          props: {
            title: '组织管理',
            comp: 'orgManage'
          },
        }
      )
    },
    keyHandle() {
      new this.$sidelipPage(
        orgManage,
        {
          props: {
            title: '关键业务环节',
            comp: 'keyBiz'
          },
        }
      )
    }
  },
  mounted() {
    this.$emit('SetPageMinHeight', 0)
  }
}
</script>

<style lang="less" scoped>
/deep/.core-modal-wrap .core-modal .core-modal-body {
  min-height: 0 !important;
}
</style>